import request from '@/utils/request'

// 查询异常跳站信息列表
export function listSkipStation(query) {
  return request({
    url: '/order/skipStation/list',
    method: 'get',
    params: query
  })
}

// 查询异常跳站信息详细
export function getSkipStation(skipId) {
  return request({
    url: '/order/skipStation/' + skipId,
    method: 'get'
  })
}

// 新增异常跳站信息
export function addSkipStation(data) {
  return request({
    url: '/order/skipStation',
    method: 'post',
    data: data
  })
}

// 修改异常跳站信息
export function updateSkipStation(data) {
  return request({
    url: '/order/skipStation',
    method: 'put',
    data: data
  })
}

// 删除异常跳站信息
export function delSkipStation(skipId) {
  return request({
    url: '/order/skipStation/' + skipId,
    method: 'delete'
  })
}
